CVE-2026-2005
PostgreSQL pgcrypto heap buffer overflow executes arbitrary code
Description
Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.
INFO
Published Date :
Feb. 12, 2026, 2:16 p.m.
Last Modified :
Feb. 20, 2026, 7:54 p.m.
Remotely Exploit :
No
Source :
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Upgrade PostgreSQL to version 18.2 or later.
- Upgrade PostgreSQL to version 17.8 or later.
- Upgrade PostgreSQL to version 16.12 or later.
- Upgrade PostgreSQL to version 15.16 or later.
Public PoC/Exploit Available at Github
CVE-2026-2005 has a 8 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-2005.
| URL | Resource |
|---|---|
| https://www.postgresql.org/support/security/CVE-2026-2005/ | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-2005 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-2005
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
Actively exploited CVE scanners from CISA KEV + Twitter trends - Drupal SQLi, PAN-OS RCE, Android ADBD, GHE RCE, BeyondTrust, Defender, and more
Python
May 2026 trending CVE scanners - PAN-OS, WordPress, BeyondTrust, GHE, ingress-nginx
Python
PoC for CVE-2026-2005
Python
A home lab vulnerabillity assessment using Nessus Essentials. Scanned a local network of 4 machines (Windows Server, Windows 10, Ubuntu Server, Kali Linux and documented findings using CVSS v3.0 severity scoring
None
Shell
Hands-on vulnerability assessment project using Tenable Nessus Essentials on a home lab environment
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-2005 vulnerability anywhere in the article.
-
TheCyberThrone
CVE-2026-45659 — Microsoft SharePoint RCE
May 26, 2026OverviewDeserialization of untrusted data in Microsoft Office SharePoint allows an authenticated attacker to execute code remotely over a network. Any authenticated attacker with a minimum ... Read more
-
TheCyberThrone
CVE-2026-9082 – Drupal Core SQL Injection
May 24, 2026CVE-2026-9082 is a highly critical SQL injection vulnerability in Drupal core’s database abstraction API, specifically in the PostgreSQL EntityQuery condition handler. An unauthenticated, ... Read more
-
TheCyberThrone
CVE-2026-2005 | PostgreSQL pgcrypto — Heap Buffer Overflow
May 24, 2026Vulnerability SummaryCVE-2026-2005 is a heap buffer overflow vulnerability in the PostgreSQL pgcrypto extension. A ciphertext provider can trigger the overflow to execute arbitrary code as ... Read more
-
CybersecurityNews
PoC Exploit Released for 20-Year Old PostgreSQL RCE Vulnerability
A proof-of-concept (PoC) exploit has been publicly released for CVE-2026-2005, a critical remote code execution (RCE) vulnerability affecting PostgreSQL’s pgcrypto extension. The flaw, rooted in legac ... Read more
-
Daily CyberSecurity
PostgreSQL Fixes 5 Security Flaws Including Critical Code Execution Risks
The PostgreSQL Global Development Group has issued a critical alert for database administrators worldwide, releasing a comprehensive update to address five distinct security vulnerabilities. The patch ... Read more
The following table lists the changes that have been made to the
CVE-2026-2005 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 20, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 18.0 up to (excluding) 18.2 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.21 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.16 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 16.0 up to (excluding) 16.12 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 17.0 up to (excluding) 17.8 Added Reference Type PostgreSQL: https://www.postgresql.org/support/security/CVE-2026-2005/ Types: Vendor Advisory -
New CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Feb. 12, 2026
Action Type Old Value New Value Added Description Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-122 Added Reference https://www.postgresql.org/support/security/CVE-2026-2005/